export RANK_SIZE=8

for((RANK_ID=0;RANK_ID<RANK_SIZE;RANK_ID++));
do
    export RANK_ID=$RANK_ID
    echo $RANK_ID 

    nohup python -u train.py \
        --cfg ./intrada_8p.yml \
        --rank $RANK_ID \
        --device_type cuda \
        --device_id $RANK_ID \
        --world_size $RANK_SIZE \
        --distributed &
done
